/* eslint-disable prettier/prettier */
import {StyleSheet} from 'react-native';
const styles = StyleSheet.create({
  dialogContainer: {
    flex: 1,
    justifyContent: 'center',
    alignItems: 'center',
    position: 'absolute',
    top: 0,
    left: 0,
    right: 0,
    bottom: 0,
    backgroundColor: 'rgba(0, 0, 0, 0.05)',
  },
  resultImage: {
    justifyContent: 'center',
    height: '30%',
    width: '60%',
    resizeMode: 'contain',
  },
  successText: {
    color: 'green',
    marginBottom: 20,
  },
  failureText: {
    color: 'red',
    marginBottom: 20,
  },
  buttonContainer: {
    flexDirection: 'row',
    justifyContent: 'center',
    alignItems: 'center',
  },
  button: {
    padding: 0,
    borderRadius: 0,
  },
  successButton: {
    width: '50%',
    alignItems: 'center',
  },
  failureButton: {
    width: '50%',
    alignItems: 'center',
  },
  buttonText: {
    position: 'absolute',
    flex: 0,
    top: '50%',
    left: '45%',
    color: 'white',

    textAlign: 'center', // 如果你想要文本居中
  },
  resultButton: {
    width: '50%',
    resizeMode: 'contain',
  },
  resulttitle: {
    alignContent: 'center',
    justifyContent: 'center',
    height: '15%',
    width: '60%',
    resizeMode: 'contain',
  },
});

export default styles;
